@echo off
echo Building APK...
call gradlew.bat clean
call gradlew.bat assembleDebug
echo.
if exist "app\build\outputs\apk\debug\app-debug.apk" (
    echo SUCCESS: APK built!
    echo Location: app\build\outputs\apk\debug\app-debug.apk
    explorer "app\build\outputs\apk\debug"
) else (
    echo ERROR: Build failed!
)
pause